<?php

class Default_IndexController extends Zend_Controller_Action
{
    protected $dbCat = null;
    private $dbProducts = null;
    public function init()
    {
        $this->dbCat = new Manager_Model_Category();
        $this->dbProducts = new Manager_Model_Catalog();
    }

    public function indexAction()
    {
       $this->view->products = $this->dbProducts->getData();
    }
   
    


}

